export default {
    classNamePre: 'js', // dom 类名前缀
    ifShowView: true,
    api: {
        // domain: 'http://192.168.0.107:8080/pes-mccr-app',
        domain: 'http://10.89.129.40:8090',
        reschedule: '/static/static-operation-route-out/reschedule.action',
        confirm: '/trends/trends-operation-route-out/confirm.action',
        loadCastMsg: '/trends/trends-operation-route-out/findUnConfirm.action',
        findRaodong: '/trends/trends-operation-route-out/findRaodong.action',
        raodong:'/znpc/znpc-dt-raodong/findAll.action',
        updateRaodong:'/trends/trends-operation-route-out/updateRaodong.action',
        logHeatMsg: '/gantt/heat/TwoSteel/logHeatMsg.action',
        mccrCheckOutHeatId: '/dhs/heat/mccrCheckOutHeatId.action',
        operationData: '/dhs/operation-data/getByTimeRangeZnpcDt.action',
        masterData: '/dhs/master-data/masterData.action',
        castData: '/dhs/cast-data/getSchedulableZnpcDt.action',
        castDataByheats: '/dhs/cast-data/getByHeatsZnpcDt.action',
        downPdi: '/dhs/operation/downPdi.action',
        getValidWithGeNo: '/dhs/bof-plan-match/getValidWithGeNo.action',
        downPdiMatch: '/dhs/operation/downPdiMatch.action',
        scheduleInverse: '/dhs/heat/schedule-inverse.action',
        scheduleInverseFirst: '/dhs/heat/schedule-inverse-cast-first.action',
        scheduleDefaultCastFirst: '/dhs/heat/schedule-default-cast-first.action',
        scheduleDefaultCast: '/dhs/heat/schedule-default.action',
        getCastData: '/dhs/cast-data/getCastData.action',
        getHeatData: '/dhs/heat/getHeatData.action',
        getSlabData: '/dhs/heat/getSlabs.action',
        insertOperation: '/dhs/operation-data/insert-operation.action',
        deleteOperation: '/dhs/operation-data/delete-operation.action',
        canclePdi: '/dhs/operation/cancelPdi.action',
        unschedule: '/dhs/heat/unschedule.action',
        saveOperation: '/dhs/operation-data/save.action',
        findCasts: '/dhs/cast/findCasts.action',
        mergeCast: '/dhs/heat/mergecast.action',
        heatChangeCast: '/dhs/heat/heatchangecast.action',
        getHeats: '/dhs/cast/getHeats.action',
        heatMessageChange: '/dhs/heat/heatmessagechange.action',
        heatChange: '/dhs/heat/heatchange.action',
        orderchange: '/dhs/heat/orderchange_operations.action',
        heatComplete: '/dhs/heat/doheatclosecomplete.action',
        heatClose: '/dhs/heat/doheatclosecancel.action',
        changeRoute: '/dhs/operation-data/change-route.action',
        changeHotFlag: '/dhs/heat/changeHotFlag.action',
        operationRouteByHeat: '/dhs/heat/operations.action',
        refreshOperation: '/dhs/operation-data/refresh-operation.action',
        refreshSchedulable: '/dhs/cast-data/refreshSchedulable.action',
        recycleHeat: '/dhs/heat/recycleHeat.action',
        findIronInfo: '/dhs/operation/findIronInfo.action',
        getWordUrlApi: '/dhs/heat/getWordUrlApi.action',
        singleMasterData: { // 主数据维护
            query: '/dhs/{key}/findByPage.action',
            add: '/dhs/{key}/addEntity.action',
            update: '/dhs/{key}/updateEntity.action',
            remove: '/dhs/{key}/destroy.action'
        }
    },
    eventKey: {
        windowResize: 'windowResize'
    },
    mainHeatBarMenu: [{
        name: '之前插入作业',
        icon: 'images/chart.insertOperationAfter.png',
        code: 'insertBefore'
    }, {
        name: '之后插入作业',
        icon: 'images/chart.insertOperationBefore.png',
        code: 'insertAfter'
    },
        {
            name: '删除作业',
            icon: 'images/chart.deleteOperation.png',
            code: 'deleteOperation'
        },
        {
            name: '修改作业时间',
            icon: 'images/chart.changeOperationTime.png',
            code: 'changeOperationTime'
        },
        {
            name: '下达 PDI',
            icon: 'images/chart.releasePdi.png',
            code: 'releasePdi'
        }, {
            name: '取消 PDI',
            icon: 'images/chart.cancelPdi.png',
            code: 'cancelPdi'
        }, {
            separator: true
        }, {
            name: '设置堆冷信息',
            icon: 'images/chart.changeOperationTime.png',
            code: 'changeHotFlag'
        }, {
            name: '修改工艺路径',
            icon: 'images/chart.changeRoute.png',
            code: 'changeRoute'
        }, {
            name: '取消炉次调度',
            code: 'unscheduleHeat',
            icon: 'images/chart.unscheduleHeat.png'
        }, {
            separator: true
        }, {
            name: '信息',
            icon: 'images/chart.informations.png',
            code: 'informations',
            sub: [/*{
            name: '合并浇次',
            code: 'mergeCast'
        },*/
                {
                    name: '炉次更换浇次',
                    code: 'heatChangeCast'
                }, /*{
            name: '炉次信息互换',
            code: 'heatMessageChange'
        },*/ {
                    name: '炉次交换',
                    code: 'heatChange'
                }, {
                    name: '炉次顺序互换',
                    code: 'orderchange'
                }, {
                    name: '设置炉次完成',
                    code: 'heatCompleteOrClose'
                }, {
                    name: '回炉',
                    code: 'recycleHeat'
                },/* {
            name: '设置炉次吊销',
            code: 'heatClose'
    },*/ {
                    separator: true
                }, {
                    name: '浇次信息',
                    code: 'showCastInfo'
                }, {
                    name: '炉次信息',
                    code: 'showHeatInfo'
                }, {
                    name: '板坯信息',
                    code: 'showSlabInfo'
                }, {
                    name: 'PFMEA',
                    code: 'openWord'
                }]
        }],
    showHeatBarMenu: [
    //     {
    //     name: '浇次信息',
    //     code: 'showCastInfo'
    // }, {
    //     name: '炉次信息',
    //     code: 'showHeatInfo'
    // }, {
    //     name: '板坯信息',
    //     code: 'showSlabInfo'
    // }, {
    //     name: 'PFMEA',
    //     code: 'openWord'
    // }
    ],
    mainCastBarMenu: [{
        name: '显示炉次',
        icon: 'images/chart.showHeat.png',
        code: 'showHeat'
    }, {
        separator: true
    }, {
        icon: 'images/chart.scheduleHeat.png',
        name: '炉次调度',
        code: 'scheduleHeat'
    }, {
        name: '炉次调度（默认工艺路径）',
        icon: 'images/chart.scheduleHeat.png',
        code: 'scheduleHeat-default'
    }, {
        name: '取消炉次调度',
        icon: 'images/chart.unscheduleHeat.png',
        code: 'unscheduleHeat'
    }, {
        separator: true
    }, {
        name: '信息',
        icon: 'images/chart.informations.png',
        sub: [/*{
            name: '合并浇次',
            code: 'mergeCast'
        },
        // {
        // 	name: '拆分浇次'
        // },
        */
            {
                name: '炉次更换浇次',
                code: 'heatChangeCast'
            }, /*{
            name: '炉次信息互换',
            code: 'heatMessageChange'
        },*/ {
                name: '炉次顺序互换',
                code: 'orderchange'
            }, {
                name: '设置炉次完成',
                code: 'heatCompleteOrClose'
            }/*, {
                name: '设置炉次吊销',
                code: 'heatClose'
            }*/, {
                name: '回炉',
                code: 'recycleHeat'
            }, {
                separator: true
            }, {
                name: '浇次信息',
                code: 'showCastInfo'
            }, {
                name: '炉次信息',
                code: 'showHeatInfo'
            }, {
                name: '板坯信息',
                code: 'showSlabInfo'
            }, {
                name: 'PFMEA',
                code: 'openWord'
            }
        ]
    }],
    showCastBarMenu: [{
        name: '显示炉次',
        icon: 'images/chart.showHeat.png',
        code: 'showHeat'
    }
    // , {
    //     separator: true
    // }, {
    //     name: '信息',
    //     icon: 'images/chart.informations.png',
    //     sub: [
    //         {
    //             name: '浇次信息',
    //             code: 'showCastInfo'
    //         }, {
    //             name: '炉次信息',
    //             code: 'showHeatInfo'
    //         }, {
    //             name: '板坯信息',
    //             code: 'showSlabInfo'
    //         }, {
    //             name: 'PFMEA',
    //             code: 'openWord'
    //         }
    //     ]
    // }
    ],
    mainMenu: [{
        group: 'system',
        btns: [{
            name: '系统',
            icon: 'system',
            sub: [{
                name: '设备维护',
                code: 'facilities'
            }, {
                name: '设备时间维护',
                code: 'facilityTimeConfigs'
            }, {
                name: '浇次速度维护',
                code: 'castSpeedConfigs'
            }, {
                name: '异钢种连浇维护',
                code: 'castCaConfigs'
            }, {
                name: '作业时间维护',
                code: 'operationTimeConfigs'
            }, {
                name: '设备检修时间维护',
                code: 'facilityRepairs'
            }]
        }, {
            name: '重置时间轴',
            icon: 'chart.resetTimeline',
            eventKey: 'resetTime'
        }, {
            name: '时间跳转',
            icon: 'chart.gotoTime',
            eventKey: 'goto'
        }, {
            name: '保存',
            icon: 'chart.save',
            id: 'save',
            disabled: true,
            eventKey: 'save'
        }, {
            name: '刷新',
            icon: 'chart.refresh',
            eventKey: 'refresh'
        }
            // ,{
            //     name: '手动快照',
            //     icon: 'chart.logMsg',
            //     eventKey: 'logHeatMsg'
            // }
        ]
    }, {
        group: 'pattern',
        type: 'select',
        btns: [{
            eventKey: 'single',
            icon: 'Chart.DragMode.SINGLE',
            active: true,
            name: '单模式',
        }, {
            name: '组模式',
            icon: 'Chart.DragMode.GROUP',
            group: 'pattern',
            eventKey: 'group'
        }, {
            icon: 'Chart.DragMode.CAST_GROUP',
            name: '浇次模式',
            group: 'pattern',
            eventKey: 'castGroup'
        }]
    }/*, {
           group: 'zuoye',
           disabled: true,
           btns: [{
               icon: 'chart.informations',
               name: '信息',
               sub: [{
                   name: '浇次信息',
                   code: 'showCastInfo'
               }, {
                   name: '炉次信息',
                   code: 'showHeatInfo'
               }, {
                   name: '板坯信息',
                   code: 'showSlabInfo'
               }]
           }, {
               icon: 'chart.scheduleHeat',
               name: '调度炉次'
           }, {
               icon: 'chart.scheduleHeatDefault',
               name: '调度炉次（默认工艺路径）'
           }, {
               icon: 'chart.scheduleHeat',
               name: '取消炉次调度'
           }, {
               icon: 'chart.releasePdi',
               name: '下达PDI'
           }, {
               icon: 'chart.releasePdiMatch',
               name: '取消PDI'
           }]
       }*/
        , {
            group: 'castSchedule',

            btns: [{
                icon: 'chart.unscheduleCast',
                name: '取消浇次调度',
                id: 'unscheduleCast',
                disabled: true,
                eventKey: 'unscheduleCast'
            }/*, {
           icon: 'chart.staticSchedule',
           name: '静态算法调度',
           eventKey: 'staticSchedule'
        }, {
                   icon: 'chart.dynamicSchedule',
                   name: '动态算法调度'
               }*/]
        },
        {
            group: 'plan',
            btns: [{
                name: '排程',
                icon: 'chart.replan',
                eventKey: 'rePlan'
            }, {
                name: '确认',
                icon: 'chart.confirm',
                eventKey: 'planConfirm'
            }]
        }
    ],
    showMenu: [
        {
            group: 'system',
            btns: [{
                name: '重置时间轴',
                icon: 'chart.resetTimeline',
                eventKey: 'resetTime'
            }, {
                name: '时间跳转',
                icon: 'chart.gotoTime',
                eventKey: 'goto'
            }, {
                name: '刷新',
                icon: 'chart.refresh',
                eventKey: 'refresh'
            }]
        },
        {
            group: 'plan',
            btns: [{
            //     name: '排程',
            //     icon: 'chart.replan',
            //     eventKey: 'rePlan'
            // }, {
                name: '确认',
                icon: 'chart.confirm',
                eventKey: 'planConfirm'
            }]
        }
    ]
}
